OpenStack Queens : Openstack Packstack
2018/03/08 |
Build Openstack All-in-one Environment quickly by Packstack.
It's possible to build it with a command. |
|
[1] | The requirements are CentOS 7 Base and Openstack Queens Repo and EPEL Repo and Packstack package only. Other packages are installed and configured by Packstack automatically. |
[root@dlp ~]# yum -y install centos-release-openstack-queens epel-release [root@dlp ~]# yum -y install openstack-packstack python-pip
|
[2] | Execute Packstack like follows. |
[root@dlp ~]# packstack --allinone |
[3] | Keystone, Glance, Nova, Neutron, Swift, Cinder Ceilometer(+ Aodh,Gnocchi) are installed and configured by packstack like follows. But if you'd like to install more components like Trove or Sagara and others, it's possible to specify options with packstack command. |
[root@dlp ~]# source keystonerc_admin [root@dlp ~(keystone_admin)]# openstack user list +----------------------------------+------------+ | ID | Name | +----------------------------------+------------+ | 0a3b38092b784585a1adf29fea73a11d | glance | | 21be4bb744da41c48af9659c9bb76d12 | aodh | | 2b69281697eb448ea25a1cb905d93127 | ceilometer | | 2cf84dd3f52a4c92b50fb4029865ed72 | placement | | 2e6ebbeae4ce40a4901f1463a4016481 | nova | | 4e99cf727f2946868b4edb93d66433ec | neutron | | 8e385f9a8eb642a3831e35c61fe1620c | swift | | 92c0252c9cc845acb36be6ae6be54018 | demo | | b12d1d8b5c2c4555bf3dcde0476f4958 | gnocchi | | e92bb7e458634568836f4ea33d40ee7e | cinder | | faf10726dd6d429ab0fd713f8d21f064 | admin | +----------------------------------+------------+[root@dlp ~(keystone_admin)]# openstack project list +----------------------------------+----------+ | ID | Name | +----------------------------------+----------+ | 00515942787b466fb91557fe3ab0594e | demo | | e0910aca28d545fa9eb692e5da60fa65 | admin | | ff53562d84d64ac4b00f030e1f53fb71 | services | +----------------------------------+----------+[root@dlp ~(keystone_admin)]# openstack service list +----------------------------------+------------+--------------+ | ID | Name | Type | +----------------------------------+------------+--------------+ | 1100f1a3e3eb4abf9c56e369ae42b1a1 | cinderv2 | volumev2 | | 15aa5c542bef4a899144e8e48504bf3b | nova | compute | | 1ca5ed9dcff14922bcf6b2d8e7d4512b | ceilometer | metering | | 1f01f1e2df20483cb839bf69a882bc96 | aodh | alarming | | 462817b7c7fd480ba215f55cedcc86ef | neutron | network | | 5fe63cd3071f4b299f5c80b801122a9c | placement | placement | | 7cbad18482cb442fa3cf31f0ce2b1032 | cinderv3 | volumev3 | | b11be6b16dfa4e07ac850e3a8b60449d | swift | object-store | | b26b5287895346ed8d0d05c98c853e80 | glance | image | | ce7dc7fff3f24761892fb3b8ff447545 | keystone | identity | | dd5cbd30111b4256873bea45ac3c5d7f | cinder | volume | | f170af96f30e44b9828a4679d919208c | gnocchi | metric | +----------------------------------+------------+--------------+[root@dlp ~(keystone_admin)]# openstack catalog list +------------+--------------+----------------------------------------------------------------------------+ | Name | Type | Endpoints | +------------+--------------+----------------------------------------------------------------------------+ | cinderv2 | volumev2 | RegionOne | | | | internal: http://10.0.0.40:8776/v2/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | admin: http://10.0.0.40:8776/v2/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | public: http://10.0.0.40:8776/v2/e0910aca28d545fa9eb692e5da60fa65 | | | | | | nova | compute | RegionOne | | | | admin: http://10.0.0.40:8774/v2.1/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | public: http://10.0.0.40:8774/v2.1/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | internal: http://10.0.0.40:8774/v2.1/e0910aca28d545fa9eb692e5da60fa65 | | | | | | ceilometer | metering | RegionOne | | | | admin: http://10.0.0.40:8777 | | | | RegionOne | | | | public: http://10.0.0.40:8777 | | | | RegionOne | | | | internal: http://10.0.0.40:8777 | | | | | | aodh | alarming | RegionOne | | | | public: http://10.0.0.40:8042 | | | | RegionOne | | | | internal: http://10.0.0.40:8042 | | | | RegionOne | | | | admin: http://10.0.0.40:8042 | | | | | | neutron | network | RegionOne | | | | public: http://10.0.0.40:9696 | | | | RegionOne | | | | internal: http://10.0.0.40:9696 | | | | RegionOne | | | | admin: http://10.0.0.40:9696 | | | | | | placement | placement | RegionOne | | | | internal: http://10.0.0.40:8778/placement | | | | RegionOne | | | | public: http://10.0.0.40:8778/placement | | | | RegionOne | | | | admin: http://10.0.0.40:8778/placement | | | | | | cinderv3 | volumev3 | RegionOne | | | | public: http://10.0.0.40:8776/v3/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | internal: http://10.0.0.40:8776/v3/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | admin: http://10.0.0.40:8776/v3/e0910aca28d545fa9eb692e5da60fa65 | | | | | | swift | object-store | RegionOne | | | | admin: http://10.0.0.40:8080/v1/AUTH_e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | internal: http://10.0.0.40:8080/v1/AUTH_e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | public: http://10.0.0.40:8080/v1/AUTH_e0910aca28d545fa9eb692e5da60fa65 | | | | | | glance | image | RegionOne | | | | internal: http://10.0.0.40:9292 | | | | RegionOne | | | | admin: http://10.0.0.40:9292 | | | | RegionOne | | | | public: http://10.0.0.40:9292 | | | | | | keystone | identity | RegionOne | | | | internal: http://10.0.0.40:5000/v3 | | | | RegionOne | | | | admin: http://10.0.0.40:35357/v3 | | | | RegionOne | | | | public: http://10.0.0.40:5000/v3 | | | | | | cinder | volume | RegionOne | | | | public: http://10.0.0.40:8776/v1/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | internal: http://10.0.0.40:8776/v1/e0910aca28d545fa9eb692e5da60fa65 | | | | RegionOne | | | | admin: http://10.0.0.40:8776/v1/e0910aca28d545fa9eb692e5da60fa65 | | | | | | gnocchi | metric | RegionOne | | | | internal: http://10.0.0.40:8041 | | | | RegionOne | | | | public: http://10.0.0.40:8041 | | | | RegionOne | | | | admin: http://10.0.0.40:8041 | | | | | +------------+--------------+----------------------------------------------------------------------------+ |